Fix stupid copypaste mistake in r95470
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 25 Aug 2011 10:56:46 +0000 (10:56 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 25 Aug 2011 10:56:46 +0000 (10:56 +0000)
includes/OutputPage.php

index bf4b184..504db29 100644 (file)
@@ -1913,9 +1913,9 @@ class OutputPage extends ContextSource {
                $this->mBodytext = '';
 
                if ( $msg instanceof Message ){
-                       $wgOut->addHTML( $msg->parse() );
+                       $this->addHTML( $msg->parse() );
                } else {
-                       $wgOut->addWikiMsgArray( $msg, $params );
+                       $this->addWikiMsgArray( $msg, $params );
                }
 
                $this->returnToMain();